package com.wyh.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 联系人,非好友对象 msg_recontact
 *
 * @author WangYuHang
 * @date 2024-03-08
 */

@Data
@ApiModel(value = "联系人,非好友对象")
@Builder
@Accessors(chain = true)
@TableName("msg_recontact")
public class MsgRecontact{

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "id")
    private Integer id;
    /**
     * 联系人唯一标识
     */
    @Excel(name = "用户唯一标识")
    @ApiModelProperty(value = "用户唯一标识")
    private String userId;

    /**
     * 好友id
     */
    @Excel(name = "好友唯一标识")
    @ApiModelProperty(value = "好友唯一标识")
    private String friendId;

    /**
     * 昵称
     */
    @Excel(name = "昵称")
    @ApiModelProperty(value = "昵称")
    private String nickName;
    /**
     * 备注
     */
    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 联系人头像地址
     */
    @Excel(name = "联系人头像地址")
    @ApiModelProperty(value = "联系人头像地址")
    private String avatar;

    /**
     * 是否拉黑
     */
    @Excel(name = "是否拉黑")
    @ApiModelProperty(value = "是否拉黑")
    private Integer isBlack;


    /**
     * 创建人ID
     */
    @Excel(name = "创建人ID")
    @ApiModelProperty(value = "创建人ID")
    private Integer createUserId;
    /**
     * 更新人ID
     */
    @Excel(name = "更新人ID")
    @ApiModelProperty(value = "更新人ID")
    private Integer updateUserId;
}
